#pragma once

#include <unistd.h>

#include <vector>
#include <string.h>


class ByteBuffer{
	private:
		size_t len;
		char * ptr=NULL;
	public:
		ByteBuffer();
		ByteBuffer(char * ptr,size_t s);
		~ByteBuffer();
		ByteBuffer(size_t s);
		size_t size();
		char * getptr();
};


